let externals = {}
if (process.env.NODE_ENV === 'production') {
  externals = {
    vue: 'Vue'
    // echarts: 'echarts' // 如果有水波纹Echarts,那么打包后echarts不能以CDN的形式引入
  }
}
module.exports = {
  publicPath: './',
  configureWebpack: {
    externals: externals
  }
}
